<template>
    <div>
        <h2 v-bgColor="'green'" class="count">我是组件count：{{ count }}</h2>
    </div>
</template>

<script>
export default {
    name: "Count",
    data() {
        return {
            count: 0,
        };
    },
};
</script>
